<?php
// +----------------------------------------------------------------------
// | Description: 动态数据表
// +----------------------------------------------------------------------
// | Author: xiaoliu <528772568@qq.com>
// +----------------------------------------------------------------------
namespace app\common\model;

use think\Model;

class Dynamic extends Model
{
    // 开启自动写入时间戳字段
    protected $autoWriteTimestamp = 'int';
    // 定义时间戳字段名
    protected $createTime = 'createtime';
    protected $updateTime = 'updatetime';
    protected function getPicurlAttr($value)
    {
        return checkLinkAttr($value);
    }
}
